#ifndef _SPAGE_
#define _SPAGE_
#include "stdio.h"
#include <stdlib.h>
#include <string.h>
#include "esp_system.h"
#ifdef LV_CONF_INCLUDE_SIMPLE
#include "lvgl.h"
#include "lv_ex_conf.h"
#else
#include "../../lvgl/lvgl.h"
#include "../../lv_ex_conf.h"
#endif
typedef struct _page_t
{
    struct _page_t * last;
    unsigned char index;
    void (*start)();//功能
    void (*end)();//功能
    struct _page_t * next;
}page_t;
page_t * add_page(page_t * page);
page_t * lv_page_menu_init();
void lv_blbl_mqtt_init(void);
void lv_blbl_web_init(void);
void mqtt_switch_save(uint8_t i);
void clock_switch_save(uint8_t i);
void web_switch_save(uint8_t i);
void web_temp_save(uint8_t i);
void blbl_sys_info_init(void);
void lv_ico_mqtt_show(uint8_t state);
void lv_ico_clock_show(uint8_t state);
void lv_ico_web_show(uint8_t state);
void lv_ico_temp_show(uint8_t state);
void save_clock(uint8_t clock_index,uint8_t s,uint8_t h,uint8_t m);
//void lv_ico_show(lv_obj_t * obj,uint8_t i,const char * str);
#endif // _TEST_
